Refactored and renamed permission classes.