Mixin classes to models