Updated Java API