Add viewPath to constructor to import statement.