Finish entity and entity builder for groovy.