Add the `getCompiler` method.