Functions to make surveys processing easier.