POC of Type Class for Groovy