Fixed public detection so that public members of non-public classes are still obfuscated.