Removed the redundent CompilationCheck function.