REALLY attempt to fix the permissions API.