Added theming functionality.