Change api to .mixin