Framework changes to support system permissions.