Removes the enrichment function for the passed event class.
If the function for this class was not added, the call has no effect.