Finalize the bundle structure