Convert to new connect api

Authored by mlaurent on Oct 23 2014, 7:42 AM.