Some cleanup for program pages.