Fixed toString method.