better syntax for connection wrapper instantiation