Use prototype based inheritance instead of mixin.