{clean up, rename, add spec, break out} msg.js