Make it work with latest react (@0.11)