Rewrite the bundle loader.