Improved function commenting