Converted model classes to xtend.