Add removal of pageStack and instanceIDs in Page class to $pages->uncacheAll();