Avoid adding methods to String.prototype