Add helper method for creating a path