XWIKI-10957: CheckAnnotationClassEventListener should be replaced by a mandatory document initializer