Flatten ObjectFile structure and remove from glue.