Add data structure and interfaces for managing record templates.