Adding delete(), refactoring reset().
Documentation for delete().