Since #8482 (closed), Record.set does not return a promises but few parts of the code still expect it.