Added pagination support for collected references.
Added pagination support for references.