Added the ability to associate rel attributes to a template