Added a public API for the map editor (MPE)