Allow Context to be used as a context manager