Implement a hacky first pass at discovery.