Add mm_value_t typedef and use it for both task argument and result.