Removed the pagination init function