How to access the components of a Path.