Added comment and fixed an issue with getting record templates.