Modifications for this plugin to work in Grails 2.4.2 using Hibernate 4.3.5.4