Added a writing example and fixed some errors.