Cleanup diff objects in spec