Add missing import which got lost in 6b528579c914446339fe6f518982a5e42ef63f28.
Overwrite paginator's repr function so the total amount of pages isn't printed, causing an exception.