Java always need hacks.