Improve error message for ObjectReadOnlyException. Closes #256.