Add TODO for checking index bounds.