Shouldn't use ReadOnlyException here. Use InvalidOperationException.