Add some type hints.