refactoring: removing DocumentElement.bound