Added utilities for HTML, and tests.