Silly hack to make pagination work on the server side for the sake of seeds, which needs to load models.js.