Add type-hinting for tkireg object parameter in functions/methods