Clean up Mac code block.