Fixed the parametrized types in Model.class