Issue #146
Reverted 195645b339ade41a63c21334f5df01f0eb09300a since it’s not a good fix. Will cherry pick Sen’s from develop instead.
fix #146. In discovery, do not discover virtual wuclasses, or make all virtual wuclasses non-public, since we need to re-register virtual wuclass in newly created java code anyway.