Updated docs and updated how the connection works.