adding explicit types in order to reduce warnings for XText 2.4.x