More refactoring of Slab.