Ported Query, QueryOptions. Normalize tabs.