Removed unneeded SwapObjects duplicate