Adding mixin function in extender to be compatible with mortars extender