Fix .connect handler for latest core
Merge branch 'feature-update-to-latest-core'