Add html import stub generation support