Properly handle reset parameter.