Added ability to set custom collection class to instantiate in paginator