Add java-interop methods.
Version 1.5.1.