Introducing typed query item callbacks