Refactor to remove HTML edit view.