Add preliminary support for theme conversion