Currently, if set a value for a readOnlyProperties, this will be silently ignored. We should have validation to enforce this validation.