Refactoring ViewBag to be plugged as a boundary