Clear duplicated typename in addPrototype() and Object.typeName