Adding validate target to check template syntax