Fixed small error in Templates.get