Fix prototype mixin bug