Keep only one constructor of MapEntity.