Added more use of generics in class Path
CMS-2177 Make a persisting version of ItemDao