Remove AnnotatedFunction