Refactors LocationItem and ItemCell.