-deleteItem: Explain some Mac-only code