Extract imports from host to a separate component.