Where possible type hinting