Added try/excepts for deprecated imports