Add RecordLoader to load matrix records