Fix for class-based view mapping.
Updating docs.