Refactored plugin to use strings instead of symbols in the item hash.