Reset feature implementation

This pull request comes after #65.