add React.mixins.getState / React.mixins.setState methods