Extend permission API