Support readonly option