Get rid of warnings in ecore-generated code.