Migrated more styles to template.