Enforced the presence of the attribute required in the input/output elements (line 232). This way, if the attribute is not present, it will fail because of the validation against the schema and not with a NullPointerException.