Clean up some and add getParentId to all the info objects below
connection.