This would allow for doing some custom things with the state after the handlers have run, but before a page's main() function is executed.