removed InstanceMethods deprecation warning