protected function createAllIfNotDone()
    {
        if ($this->allCreated) {
            return;
        }

        foreach ($this->classes as $id=>$class) {
            if (!isset($this->items[$id])) {
                $this->get($id);
            }
        }
        $this->allCreated = true;
    }