Refactored all __proto__ references to use Object.create.