Add readonly to doc.