Define mixin properly