Adding work to Transformer class.