Fixed Record* to shared_ptr<Record>