Removes unused stuff from processor.