"connection" seems a little confusing here, but I'm struggling to come up with a better name at the moment.