Refactor Item.setProperty