std: Move swap and replace to prim
std: Move tuple extension methods to prim