Updated transform mixin