Added support for static registerAnnotationClasses()