Added extensions interface.
Added text/xml type.