Parse inner classes and fix symbol table scope.