Changed to use getInt(Object) and getBoolean(Object)