Support global namespace plugin. rewrite ClassResolver.