The class allows direct access to internal data as oppose to every other MCRMetaInterface. It should provide proper methods to read and write information about titles, classification and maindoc, etc.
It should also document the internal XML so that "heuristic" code like this is not needed:
It should rather return a modifiable list of MCRCategoryID directly and do not allow a modification of the internal XML directly (no validation !!!).