remove unused theme/template function