protected function _normalizeWritableContainer($container)
    {
        $container = $this->_normalizeContainer($container);

        if ($container instanceof BaseContainerInterface) {
            throw $this->_createInvalidArgumentException(
                $this->__('Invalid container'),
                null,
                null,
                $container
            );
        }

        return $container;
    }