Fix error due to xtend inheritance