Migration to grails, part 1.