Added basic class support for theming.