public function register($nickname, $object)
    {
        if (isset($this->autoInstantiations[$nickname]))
        {
            throw new DuplicateObjectException($nickname);
        }

        $this->autoInstantiations[$nickname] = $object;
    }