Delete code for themes and templates