Added support for TE.

Included TE API.