Issue #11: Completely rewritten function docs.

At the moment, you can control only documents.