Fixed problem from merging from mainstream in slice_manager_slab and api.