Movement to the context manager implementation.