this class does not seem to call `cleanup` for the transformer