Rename Generator.prototype.logHeadlights to _logHeadlights and mark it private