added name to Event and Function elements in the model, in order to avoid Xtext problems