Merge from deprecated branch "memory_pool".