Added 'type' query builder.