Added search form object to g.