Adding partial java support.