Added SWAP and SWAP_END constants.