Using context manager on index eg.