remove Akka-specific event code