tidying up Name and Path API