Folded the API into a single path