Add agent classes to the output file.