added support for tooltip directive