Added "Reset" functionality to API