Allow properly starting and ending contexts relative to each other