Use common connect method.