Updated the theming code.