Add in getSlotType() from @YLivay's PR