Fixed bugs.  Added missing API functions to docs.