Updated comments

Removed redundant variables from the core module.
Updated the comments in the pagination manager