Simplify Java API