Fix docstring + import folding (imports were seen as part of the docstring scope).