Keep compatibility with React 0.10.0.