Adds pattern matching in without docs.
Adds docs for pattern matching group_by.
Adds docs for pattern matching with_fields.
Adds docs for pattern matching has_fields.