Added support for material namespaces