Default implementations for record-fn and update-fn.