Add type hints to storage classes.