Remove warning from evil downcast in views.json.Document.show.apply()
Make mock Document a type that evil downcase in views.json.Document.show.apply() can deal with