public function add($key, $value)
    {
        parent::add($key, $value);

        if (is_object($value) === false) {
            return;
        }

        $this->classMapping[get_class($value)][] = $key;
    }