Fixed "no default slot" bug.

Fixed a non-fatal bug where the default slot was nil.
Fixed documentation.

Fixed the documentation, so that it describes how to use the programming
interface.