Fix incorrect signature nesting in connect command