Implemented the 'delete page' method