Removes obsolete pages