Reduce scope of helper functions in cst_item.c as appropriate.