Removed deprecated BagOStuff::replace() method

Change-Id: Ife2f8e0f10ad7be76b79d5aee435491ea78d4655
Merge "Removed deprecated BagOStuff::replace() method"