Added openConnection method from Lab.