Added support for swapping out themes.