Added schema for records.