Adds custom item stack handling