Fix bug in object deletion and add reset feature.