add: class query interface