Add functions to get/set record by field name.