Use __toString to get href.