Fixed issue that caused hover-type tooltips to not work inside static methods.