Hm, it's a bit unpleasant that start/end are passed in differently than prefix, but then again we probably want to be able to specify start/end when the body is just the query string.