Added support for automatic imports to tab completion without -c.