Remove redundant add_connection function