Why make this global?
Could we not set this in the actual search module?