Fix missing endpoint parameter in one of -connect methods.