eliminate hardcoded slot locations in SlotDefinitionClass.java