removed dependency on java.beans to make the lib usable on android