Issue #85: Fixing problem in last, missing typeName in hook args. The correct hook interface is query(typeName, query, request, callback).