A better way to distinguish between different types of model items