Changed connections to edges as it is more descriptive.