Added some var visible to templates