We only want to assign if the ViewClass object is actually a class object and also does not have a template. The ViewClass argument may also be an instance and we are duck typing on "has a `factory` method".