Add global context for templates