added model.IsType