ignore warnings about deprecated EMF method (Can't use new method while
keeping the code compilable against older EMF versions)