Change CustomActorImpl destructor to protected