queries: removed interfaces [closes #22]