Patch the Record::__construct method