Update templates to fix repository issues.