Change Path public attribute to const. Add Path utility functions.