Adds some parts to Java interop