Cleanup concerning cases.