Add readOnly flag