Fixes error in examples.