Support React v0.4 (while preserving BC)