Using __tostring when exists.