Remove ApplicationVersions view. Switch to DocumentByType in migration script.
Remove obsolete view.
Translate dns view to the javascript code.