Remove unused and under-defined "discovery document" functionality.

Fixes #39.  @ametaireau r?