Added support for automatic imports to tab completion.