If I write : 
   val alias = config.optional("alias") { _.getString }
Error :
missing parameter type for expanded function ((x$25) => x$25.getString)