There is already a duplication :
https://github.com/playframework/Play20/blob/master/framework/src/play/src/main/scala/play/api/Application.scala#L302-L311
https://github.com/playframework/Play20/blob/master/framework/src/play/src/main/scala/play/core/server/Server.scala#L69-L77