Minor cleanup of tooltip component.