Fix for incorrect end-of-function comment