In 1.8.0 I switched from deprecated imp to importlib for loading module by name, but forgot about this function Close #1884