Reference visiblity refactor - good visibility inside one IWriteStatement- not tested yet