Java models corrected.