Adding HasUrl typeclass