Add open() method for assigning connections directly