Handle non-static inner classes