Custom slabs, many fixes