Fix readonly attributes