It would be neat to clear the resource entries just like how clearMeasures, clearMetrics and clearMarks clear their entries.