Added a context stack.