Add InMemoryRecordRepository.