Refactored bundler to be asynchronous.