Expects connection details.