MSIZE is bytes.
Moved out old JS and Wire APIs.