added method #clear to ProcessingManager