Updated imports and some error in examples.