Limit the number of entries returned per request.

Fixes #137.