Add RequiresInitialization() to query.
Add histogram support.