Reduce duplication in ItemView