Support namespace roots mapped to subdirectories.