Add doc to the latest Flags API