Only variables should be passed by reference.
Fix bug: tooltips not styled correctly.