Add multiple query functionality, close #25.