Added handlers for common ImportError exceptions.