Fixed #1 Fixed #2: added an example; added getBooleanValue(), getIntValue()