a smart mixin helper method to provide object propery mixin