Added some permission tweaks.