Add connect, config, instance objects, and attach ffi.