Ugly type hinting