Class CodeGen successfully