Could you move this line to the component.highlight() function? That way components that use the highlighter don't have to set this explicitly.