Modified for Eclipse import.