Use new connect syntax

Authored by apol on Oct 11 2018, 7:26 PM.