Use the new strong types for strevent().

#802