Add connections to compiled xml.