Added UpstreamConnected() and MainOutletConnected() functions