Added the toString() method.