Using Object.extend for Number.prototype extensions