Remove unused pages.