More idiomatic connection creation