registration.flag doc