Add query interface repository