Added memory slab implementation.