Better error message when record has unknown property.