right now the bound classes for document and node do not have inheritance; some methods have to be repeated, hence.