Add flag_keys convenience method.