Added connection utilities for the viewer.