For convenience 'query' has been broken out of User::list(). This method now uses only the optional 'state' argument. User::filter() now provides 'query' support as a required argument. It also accepts the optional 'state' argument.