Fixing incompatibility with pluggable User model.