Convert to a mixin