Fix import errors and such.
Fix MultiplePermissionsRequiredMixin.