Splitting sequence number translation for document and task to make it customizable.