Added connect method to actors