Added break statements to switch cases.