Rearrange the order of params to make the docs clearer