Fix import issues in examples.