Generating proper classes for the cell models