Add multiple namespaces per library support.