Removes dead code
changes order of arguments in tersus.addPermission