See __exit__.