Fixed typos in docs. Added more examples.