simpler API for transform types