Corrected management of object creation in event processor.