Updated StringHandler class.