Move static variables outside of getSlots()