Improve comments for general purpose functions.