Removing dead code + Adding @switch to check compiler behaviour.