To support grails 2.4.2

To fit in to grails 2.4.2 we need to change this.Please refer http://grails.org/doc/2.4.x/guide/upgradingFrom23.html.