Refactored the old AddView method to use the new overload.