Enables passing params to appendQuery
Sorts method order by visibility

This makes the code a bit more transparent and organized.