That's the only place it is used, so we don't need to export it and we lose half the dependencies on messageviewer here.