Factor BlockAllocator<> out of BlockAllocated<> module