Copied methods from the ko Todo MVC project. This should technically work since Durandal works with Knockout.