Added use FieldDefinition to Flagging.php