Register paginator as a flexEntity.
Fix webserver file.