Added documentation, examples.