Fix method first of CompilationResultWriter