Added privileges support