Java utility classes.