@change Flag.php modified, comments improved.