Bug 1089968 - [User Story] Reset usage data

Let's try to avoid such a repetition. Try to refactor these functions to simply point to a more generic one accepting a `type` parameter.