add minimum set of type hints to remove reflection warnings; no other changes