Removing legacy globals

This commit removes some seemingly legacy globals, mostly specific to
Java.
Merge pull request #96 from amadeus/globals-tweaks

Removing legacy globals