public function getSchemaNames($refresh = false)
    {
        if ($this->_schemaNames === null || $refresh) {
            return $this->findSchemaNames()->then(
                function($names) use($refresh) {
                    $this->_schemaNames = $names;
                    return $names;
                }
            );
        }

        return resolve($this->_schemaNames);
    }