Added cursor and limit support to aggregate endpoint.