Remove GenerateCSCope function