tweak type hinting