Fixed direct query interface.