Implement IBeforeCompileContext on CompilationContext