Made connection variables static.