fix(cookies): Make sure Cookies is injectable.

Also clean-up a few warnings and remove an unnecessary workaround
in the todo example.