Adding type specifier for link templates. Fix #8