Implement case blocks.