Make connection method a bit prettier