Add support for the `endbefore` and similar parameters
Add support for the
endbeforeand similar parameters