commands: code hygiene
smoothing: Restored missing 'metrics' import