Init for queries compilation.