Added connections to the viewer.