Allow queries on custom api versions
Add event query utility