Add high-level API for DOM creation