removed InstanceMethods because of deprecation warning