public function set($key, $value)
    {
        if (! $value instanceof AdapterInterface) {
            throw new InvalidArgumentException(
                'Adding an object that does not implement AdapterInterface '.
                'to AdaptersMap.'
            );
        }
        return parent::set($key, $value);
    }