ENH:modify interface of msg platform