Fixed wathing of includes in templates.