Callable type-hint not directly callable