Fixed bug affecting extended prototype of String