Add REPLICATE and SLAVES support
Allocate, deallocate and flush slots