Removed references to connections and new them up as needed.