Remove old pagination related code, it's no longer needed