Implemented DPI querying.