mixin, extend constructor prototype