Add common __toString method