Added set view extension method