HashMap was missing for errors in crop.groovy.Added that.