Made connect method more generous.