fixes #2878 - Import Classes fails when using parser = future