Add reverse-engineered api docs.

Not sure why these weren't in the repo the first time.
Merge pull request #2 from phs/phs/api-docs

Add reverse-engineered api docs.