Added String.valueOf() methods and SecurityException.