Is there any way to specify what type of message an actor can accept and give a compile error if anything tries to send it some other type?