Adding the flag object.