Add paths/examples convenience methods.

Cherry-picks a couple of changes from this commit: https://github.com/mdx-dev/platform-api/commit/21de8b38e6b4015b8224ed049bb61090edc393fb