Wrong change for #272. Default value for readWrite is true.