Add message command to train NN.