changed overriden transformers to be class methods