Before Entity SubGenerator