added a destroy method and autoDestroy docs