Extract a module 'TypeEditor'.
Move all relations because entities are increased or decreased unless the grid is moved.