Fixed akka warnings for deprecated methods.