Fix removed or deprecated Akka API