Fix to initvalues: don't generate values for readonly properties.