Cleaning up the pages, etc