Added a gadget discovery module.