add annotator for method names inside yaml service definition and secure new instance annotator