Added **kwargs to transform declaration to be consistent with base class declaration