Add vi and cc functions.