Remove AnnotationRegistry and add configure method.