Allow marking legacy ContentHandler hooks as deprecated