Add reset method to scanner