Importing and integrating stuff from searchbox legacy.