Add .get() method to Path