Improve todo list example.