Removed unused parameters in examples.