I meant: it does not extend from `CComponent` so `$document->index !== $document->getIndex()`