Add link and template classes