Fix documentation.
Fix bug. ref #9