[migrate] Move SessionMap
[migrate] Move exceptions