define explicit return types on all public api, i.e. `def expectOnce(fn: Actor.Receive): Actor.Receive =`