mixin and decorator now accepts object or function