Adding support for textContent in Element API