Remove unused permissions