public static function documentManager( $options = array() )
    {
        $_key = Option::get( $options, 'host', 'localhost' ) . ':' . Option::get( $options, 'port', 5984 );

        if ( !isset( self::$_dms[$_key] ) )
        {
            self::$_dms[$_key] = \Doctrine\ODM\CouchDB\DocumentManager::create(
                Option::get( $options, 'client', static::couchDbClient( $options ) ),
                Option::get( $options, 'config' ),
                Option::get( $options, 'manager' )
            );
        }

        return self::$_dms[$_key];
    }