Add some docstringss in views.mixins