Remove useless theme code