Fixed issues with Exception and #to_s