Improved type hinting for IDEs