Tweaking behaviour for init and doPerPageChange.