Remove the use of ActorIdentity.getRef()