Remove KSS references from templates