Make example in README.md work as expected