Manually checking and setting contexts