semantic: Use CreateDelegate instead of StructToDg.