remove references to deprecate variable $readonly