integration wip: removing unused code in documentCanvas module