Modified pagination to have static methods, allowing use of methods before creating new pagination instances