Made initialization skip the creation of unused queries.