Add use of namespaces and aliases in Index