add specification for map object.