Make sure namespaces are honored in new-cap