Merged utility and polyfill methods into a single class