Output flags during lookups