Fixing template headers.