Improves various function comments