Add 'name' attribute to Namespace object.