Move unused code to end of file.
Only use per-parser data for training.