We need to support these two things until React itself does. For more info: https://github.com/facebook/react/pull/1446