Move swap()s to their respective namespaces.