Language and pull pagination out of a plugin into a utility class