Add general reset mixin.