Simplify creating sub/sub-sub/sub-sub-sub classes
Code style