add basic setCanonicalLink support