Fix MissingMethodException in Grails 2.3