In Route namespace, directory and prefix building processes fixed for nesting scopes handling.