Fix: < 3.0 calling set causes StackOverflowError

set(object, value.intValue()); calls itself recursively. Should be setValue