Implement the getter and __toString