Update Config.java.
Add docs and simple methods.