Remove unused origin lines from paging methods.