Change the variable 'theme' to 'template' since tornado always uses it. Avoid confusion.