This will become a complete query builder.