make each controlsequence responsible for handling the document changes through document proxy