Resolve an issue with browsers that don't support Object.getPrototypeOf()