Refactor the <head> entries.