Making connect a regular function as it is required to be callable.