Cleaned up SetPaging method a bit