Making method parameter ordering consitent.

- documentId should always come before clientId.