Added more examples and expanded documentation.