Clean up zone code.