Update context switching in templates deprecations.
Merge pull request #1794 from rwjblue/update-context-switching-deprecation

Update context switching in templates deprecations.