implemented node decorators in groovy.