Got the deleting pages working.