Attach a String() string method.