What's happening there? It would be great to add descriptive code comments for this part because there's a lot going on w.r.t. to integration with the other packages and polyfills.