Removed AnnotationRegistry from ServiceProvider