Making the Java API palatable