Adding transformer base class