update syntax example with class_info demo.