Context-managers for olegra.