Use functions instead of Closures in Scaffolded Controller reflecting statndard grails usage.