Bug fixes.
Adding some examples.