Export ref() method for via connection.