Adds methods on Object.prototype to remove usage of common js code.