Moved polyfills into their own file.