Added speed setting.