Fix to previous commit: namespace ID now extracted from HTTP resource.