removed deprecated InstanceMethods module definition