java. Removed descriptor interfaces, fixed #326.