Added rendering of dynamic queries.