Reference visibility refactor - IWriteStatements valid visibility among each other (todo - inside one - bad visibility)