Fixed: Pass correct node to error message when finding duplicated protocol
Fixed: Remove all protocols in objj_resetRegisterClasses