Clean up If and Switch tags.