Replace redundant low level calls with Compiler.compile().

or `-rf`