* Reordered case checks to have some kind of order. This is useful with additional
  expansion to more easily find stuff.