Used Strings class for portability.