improvements to discovery (documentation) module