mainclasses are not before mixin classes