Add support for tempalte-provided themes.