Add SetView so that views are replaced properly