Annotation with the factory method