ADD: Flip html and document helpers