Declared DataContainerInterface::getCurrentModel() deprecated.
DataContainerInterface::getCurrentModel() is deprecated in favor of
Environment::getCurrentModel().