Added a method for adding an item into a specific slot.