Implement the remove-page method