Updated to use root instead of namespace.