Renamed delete to destroy.
Cosmetic changes. Moved static methods to methods. Bugfix in todo example.