Move process messages to node module.