public function addScheme(Route\Scheme $scheme)
    {
        foreach ($scheme->getPrefixes() as $prefix) {
            $this->schemePrefixes[$prefix] = $scheme;
        }
        foreach ($scheme->getKeys() as $key) {
            $this->schemeKeys[$key] = $scheme;
        }
    }