Enabling usage of `callable` in type hints