Use lower level API for creating the path