Minor changes to Names container

Minor changes done to the definition of NamesContainer