Change transforer to deal with with parameterized types.