Changes to map server main and object.