Class based inheritance with mixins