Added UsesSdk and UsesPermission functionality