add some Java expansions