Fix to escaping of inner classes.