Fixed missing memory management qualifiers, causing warnings when compiling libraries that links CoreObject