Fix for #61

For Grails 2.4.x compatibility