Add event component code to reporting plugins