Fixed in order to support React v0.12