Fixed automatically generated toString method