Add sync methods for connect and execute