Some early work on varous query objects.