Too Easy to Erase Page Types
Rather than manipulating typelist directly, wrapper functions add_type and remove_type should be added. These methods would in turn modify typelist, but adds and removes would only occur if they were explicitly requested, rather than if we make a mistake.