Accept lists as parameters to the query() method.
Introduce functions to change list properties.