Annotation-driven EM and SF setting