Made the destructor of StringHandler virtual.