Updated for map editor changes.