Fixed the generation of calls to members of nested classes