Don't use const foobar& for connects. Only using foobar works and is actually faster.