Added pagination parameters for message operations.