Updating documentation; fixing; adding examples.