Refactor permission names.