Create inner-class