Removing extra \n when no functions are defined.