Follow API change for bean populators
Fix problem with view resolving based on type field instead of class