Fixes #4517 - proxy import_classes failed