Code examples from the IBM Developer Works post "Practically Groovy: Metaprogramming with closures, ExpandoMetaClass, and categories"