Variables and namespace now accessible to templates