Should `transformer` here be implicit?