Use mixin instead of class