Make akka.Main#main call more type-safe