Add Annotation-based class.