[Maps] Rewrite interop code and maps classes

No match.