Promise interface should work correctly now.
Updated the Todo example to test promises/deferred.