Fix class name field projection to use numeric index. Fix some typos.