Move discovery document into module