Added tooltip callback and trait toggling.