Export exchange + separate dimap

Need to have the generic different from the function actually used
because defining a method's body actually shadows the real generic...