Add Element to the API as well.

Needed for editor core's element.js.