Corrected bugs in Visitor/Processor's generation