Added queries to a lot of classes: see change log