Shared grails code between moneta and Identity