Implement annc_flags:{add,remove}_flag