Removed the use of deprecated "toString"