put in stubs for header/unit/trailer processing in Groovy