class extension mixin