Unify the interface of the three mask+shift transform helpers, and