Improved commenting function.