Change API to match the new pipes-parse API