Refresh

sorry about sneaking the core change in an accidental `master` commit.

This has some tidying, and runs the `hooks/odata-refresh` script (if not paging).