Add method for clearing data for deleted pages