Add error message to ArgumentError when adding a new item to a loader and the keys 'id' and 'term' are not defined.