Fixed Map.Attach()
Use global form encoder