[Bug 822916] Switch to class based generic views.

https://bugzilla.mozilla.org/show_bug.cgi?id=822916