Remove duplicated defPrototype method