: trait PubSubActor extends Actor {   abstract override def receive =      super.receive orElse {       case Subscribe(topic) => /* ... */       case Publish(topic, msg) => /* ... */     } }  class MyActor extends Actor 