Added compatibility to Xtext 2.4.0, 2.4.1 and 2.4.2