Implement speed setting.