removed the object name in __addmethod