Fixing destroy problem. Addiitional functionality.
Merge pull request #2 from spekary/master

bugfix-Destroy