Documentation and Bugfixes.

Documentation and Bugfixes.