Add module to global search

To add a module to the global search the following vardefs need to be found in the module in question.