public function set($key, $value)
    {
        if (! $value instanceof RepositoryInterface) {
            throw new InvalidArgumentException(
                "Only RepositoryInterface object can be putted in a ".
                "RepositoryMap."
            );
        }
        return parent::set($key, $value);
    }