Added support for xtend.