Fix way methods are placed on Array.prototype.