do delete inner classes