Remove unused function and update YAML config file.